package cn.livingCloud.dto;


import cn.livingCloud.entity.user.Member;

import java.util.List;

/**
 * Created by DingJie  on 2015/12/29.
 */
public class MemberListDto extends Page<MemberDto> {

    private String nickname;//昵称
    private String sex;//性别
    private String city;//普通用户个人资料填写的城市
    private String province;//用户个人资料填写的省份

    public MemberListDto() {
    }

    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public String getProvince() {
        return province;
    }

    public void setProvince(String province) {
        this.province = province;
    }

    @Override
    public void addAllList(List itemList) {
        for (Object item : itemList) {
            list.add(new MemberDto((Member) item));
        }
    }
}
